<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="X-UA-Compatible" content="E=edge;chrome=1" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>嘉华金融</title>
<link rel="stylesheet" type="text/css" href="<%=path%>/static/css/reset.css">
<link rel="stylesheet" type="text/css" href="<%=path%>/static/css/weui.min.css">
<link rel="stylesheet" type="text/css" href="<%=path%>/static/css/index.css">
<link rel="stylesheet" type="text/css" href="<%=path%>/static/css/swiper.min.css">

</head>
<body>
	<div>
		<div class="header">
			<div>
				<!-- <div class="back"></div> -->
			</div>
			<div>首页</div>
			<div>
			<!-- 	<div class="user-img"></div> -->
			</div>
		</div>
		<div class="main">
			<input type="hidden" id="subscribe" value="${userInfo.subscribe}"/>
			<div class="home-banner">
				<div class="swiper-container">
			        <div class="swiper-wrapper">
			          <%--   <div class="swiper-slide">
			            	<a class="home-banner-list"><img src="<%=path%>/static/img/home/banner.png" alt="" ></a>
			            </div> --%>
			            <div class="swiper-slide">
			            	<a class="home-banner-list xjcredit"><img src="<%=path%>/static/img/home/banner2.png" alt=""></a>
			            </div>
			            <div class="swiper-slide">
			            	<a class="home-banner-list xycredit"><img src="<%=path%>/static/img/home/banner3.png" alt=""></a>
			            </div>
			        </div>
			    </div>
			</div>
			<div class="home-wrap">
				<div class="weui-cells">
					<a class="weui-cell a-bg" id="kkcredit" href="javascript:void(0)">
						<div class="weui-cell__hd ka-icon home-icon"></div>
						<div class="weui-cell__bd home-p">
							<p>卡卡贷</p>
							<p class="home-p-text">额度高 费率低 放款快</p>
						</div>
						<div class="weui-cell__ft">
							<div class="quota">贷款额度</div>
							<div class="money">1000-5万</div>
						</div>
					</a> 
					<a class="weui-cell a-bg" id="ppcredit" href="javascript:void(0)">
						<div class="weui-cell__hd home-icon pai-icon"></div>
						<div class="weui-cell__bd home-p">
							<p>拍拍贷</p>
							<p class="home-p-text">简单快速借的到</p>
						</div>
						<div class="weui-cell__ft">
							<div class="quota">贷款额度</div>
							<div class="money">1000-5万</div>
						</div>
					</a> 
					<a class="weui-cell a-bg" id="xycredit" href="javascript:void(0)">
						<div class="weui-cell__hd small-icon home-icon"></div>
						<div class="weui-cell__bd home-p">
							<p>小赢卡贷</p>
							<p class="home-p-text">3秒极速放款，六万额度给你花</p>
						</div>
						<div class="weui-cell__ft">
							<div class="quota">贷款额度</div>
							<div class="money">2000-6万</div>
						</div>
					</a> 
					<a class="weui-cell a-bg" id="xjcredit" href="javascript:void(0)">
						<div class="weui-cell__hd xian-icon home-icon"></div>
						<div class="weui-cell__bd home-p">
							<p>现金白卡</p>
							<p class="home-p-text">不查征信0门槛，秒到账</p>
						</div>
						<div class="weui-cell__ft">
							<div class="quota">贷款额度</div>
							<div class="money">1000-5000</div>
						</div>
					</a> 
					<a class="weui-cell a-bg" id="llcredit" href="javascript:void(0)">
						<div class="weui-cell__hd lan-icon home-icon"></div>
						<div class="weui-cell__bd home-p">
							<p>蓝领贷 </p>
							<p class="home-p-text">3分钟申请，10分钟到账</p>
						</div>
						<div class="weui-cell__ft">
							<div class="quota">贷款额度</div>
							<div class="money">1000</div>
						</div>
					</a> 
					<a class="weui-cell a-bg" id="gfcredit" href="javascript:void(0)">
						<div class="weui-cell__hd gong-icon home-icon"></div>
						<div class="weui-cell__bd home-p">
							<p>功夫贷</p>
							<p class="home-p-text">利息低至0.018%，有信用卡秒速下款</p>
						</div>
						<div class="weui-cell__ft">
							<div class="quota">贷款额度</div>
							<div class="money">3000-10万</div>
						</div>
					</a>
					 <a class="weui-cell a-bg" id="qicredit">
                        <div class="weui-cell__hd qian-icon home-icon"></div>
                        <div class="weui-cell__bd home-p">
                            <p>向钱贷</p>
                            <p class="home-p-text">向钱贷自动审核  放款率高 不看征信</p>
                        </div>
                        <div class="weui-cell__ft">
                            <div class="quota">贷款额度</div>
                            <div class="money">300-3000</div>
                        </div>
                    </a>
					 <a class="weui-cell a-bg" id="bycredit">
                        <div class="weui-cell__hd bao-icon home-icon"></div>
                        <div class="weui-cell__bd home-p">
                            <p>包银消费</p>
                            <p class="home-p-text">最快5秒放款，秒解燃眉之急</p>
                        </div>
                        <div class="weui-cell__ft">
                            <div class="quota">贷款额度</div>
                            <div class="money">1000-5w</div>
                        </div>
                    </a>
					<!--<a class="weui-cell a-bg other">
						<div class="weui-cell__hd dou-icon home-icon"></div>
						<div class="weui-cell__bd home-p">
							<p>豆豆钱</p>
							<p class="home-p-text">快速审批，不差征信</p>
						</div>
						<div class="weui-cell__ft">
							<div class="quota">贷款额度</div>
							<div class="money">10000-50000元</div>
						</div>
					</a> 
				    <a class="weui-cell a-bg other">
						<div class="weui-cell__hd zhong-icon home-icon"></div>
						<div class="weui-cell__bd home-p">
							<p>中赢微贷</p>
							<p class="home-p-text">快速审批，不差征信</p>
						</div>
						<div class="weui-cell__ft">
							<div class="quota">贷款额度</div>
							<div class="money">10000-50000元</div>
						</div>
					</a> -->
				</div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript" src="<%=path%>/static/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="<%=path%>/static/js/swiper-3.4.2.jquery.min.js"></script>
<script type="text/javascript" src="<%=path%>/static/js/weui.min.js"></script>
<script type="text/javascript" src="<%=path%>/static/js/index.js"></script>
<script type="text/javascript" src="<%=path%>/static/layer/layer.js"></script>
<script type="text/javascript">
	 var path="<%=path%>";
	 //var subscribe = $("#subscribe").val();//是否关注	
	 var subscribe = 10;//是否关注	
	 var url;
	 var wx_url = "https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzI4NDc4MzM2OQ==&scene=116#wechat_redirect";//微信关注地址
	 var swiper = new Swiper('.swiper-container', {
        loop: true,
        autoplay : 3000,
    });
	 var bannerWidth = 320;
	    var bannerHeight = 152;
	    $(".swiper-container").height($(".swiper-container").width()/(bannerWidth / bannerHeight));

	 //卡卡贷
	$("#kkcredit").click(function() {
		var $this = $(this);
		if(subscribe==0){
			 url = wx_url;
		}else{
			 url = path + "/home/kkd.html";
		}
		$this.attr("href",url);
	});
	//拍拍贷
	$("#ppcredit").click(function() {
		var $this = $(this);
		debugger
		if(subscribe==0){
			 url = wx_url;
		}else{
			 url = path + "/home/ppd.html";
			// url = "http://cps.ppdai.com/landinginfo.html?regsourceid=ppdjiahuajinrongjiekuan";
		}
		$this.attr("href",url);
	});
	//小赢卡贷
	$("#xycredit,.xycredit").click(function() {
		var $this = $(this);
		if(subscribe==0){
			 url = wx_url;
		}else{
			 url = "https://cardloan.xiaoying.com/kadai/index?source=100009382";
		}
		$this.attr("href",url);
	});
	//现金白卡
	$("#xjcredit,.xjcredit").click(function() {
		var $this = $(this);
		if(subscribe==0){
			 url = wx_url;
		}else{
			 url = "https://api.xianjincard.com/act/light-loan?source_tag=H5-jiahuajr";
		}
		$this.attr("href",url);
	});
	
	//蓝领贷
	$("#llcredit,.llcredit").click(function() {
		var $this = $(this);
		if(subscribe==0){
			 url = wx_url;
		}else{
			 url = "http://wxlld.flashcash8.com/wx/page/reg_app.html?regSource=jiahua";
		}
		$this.attr("href",url);
	});
	
	//功夫贷
	$("#gfcredit,.gfcredit").click(function() {
		var $this = $(this);
		if(subscribe==0){
			 url = wx_url;
		}else{
			 url = "https://channel.91gfd.com/register/9?channelCodePreFix=wLpO8dx11";
		}
		$this.attr("href",url);
	});
	
	//向钱贷
    $("#qicredit,.qicredit").click(function() {
        var $this = $(this);
       if(subscribe==0){
             url = wx_url;
        }else{ 
             url = "https://m.xiangqd.cn/homeWeb?channel=H5_BD_jiahuajr_01";
        }
        $this.attr("href",url);
    });
	//包银消费
    $("#bycredit,.bycredit").click(function() {
        var $this = $(this);
       if(subscribe==0){
             url = wx_url;
        }else{ 
             url = "https://www.baoyinxiaofei.com/baoyin/view/wap/land0720_withoutdl.html?qdId=jiahua&cyId=jiahua01&hdId=none";
        }
        $this.attr("href",url);
    });
	
	$(".other").click(function() {
		var $this = $(this);
		layer.msg("功能尚未开放，敬请期待！", {time:1000});
	});
	
	
</script>
</html>